"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"DESCRIPTION 1"="The client program for Windows Terminal Server (WTS) normally send the mouse position all 100 ms to the server."
"DESCRIPTION 2"="In some cases, this can lead to chaotic mouse movemments on the server. Setting this interval to 10 ms will correct this, but also uses more bandwidth."
"COMMENT 1"="MS KB: Q196460"
sP="HKCU\Software\Microsoft\Terminal Server Client\"
sV1="Min Send Interval"
SUB Plugin_Initialize
if RegPathExists(sP) then
i=RegReadValue(sP & sV1)
SetUiElement 1,i
else
Disable
end if
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
i=GetUIElement(1)
Call RegWriteValue(sp & sv1,i,2)
END SUB
'Called when the Plugin is about to be removed from memory